package com.itheima.dao;




import com.github.pagehelper.Page;
import com.itheima.pojo.Order;
import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface OrderlistDao {

    Page<Map> findByPage(@Param("startDate") String startDate, @Param("endDate") String endDate, @Param("orderType") String orderType, @Param("orderStatus") String orderStatus, @Param("queryString") String queryString);

    List<Setmeal> findAll();

    Integer deleteById(Integer id);

    void modifyOrderStatusById(@Param("id") Integer id,@Param("orderStatus") String orderStatus);

    Map<String,String> findById(Integer id);

    void edit(Order order);

}
